home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / hangingaround.swf / scripts / frame_3 / PlaceObject2_186_60 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2007-04-05  |  3.6 KB  |  106 lines

  1. onClipEvent(enterFrame){
  2.    var ┬º\x01┬º = 642;
  3.    while(true)
  4.    {
  5.       if(eval("\x01") == 642)
  6.       {
  7.          set("\x01",eval("\x01") - 432);
  8.          ┬º┬ºpush(true);
  9.       }
  10.       else if(eval("\x01") == 210)
  11.       {
  12.          set("\x01",eval("\x01") + 713);
  13.          if(┬º┬ºpop())
  14.          {
  15.             set("\x01",eval("\x01") + 49);
  16.          }
  17.       }
  18.       else if(eval("\x01") == 528)
  19.       {
  20.          set("\x01",eval("\x01") - 32);
  21.       }
  22.       else if(eval("\x01") == 496)
  23.       {
  24.          set("\x01",eval("\x01") + 319);
  25.       }
  26.       else
  27.       {
  28.          if(eval("\x01") == 923)
  29.          {
  30.             set("\x01",eval("\x01") + 49);
  31.             break;
  32.          }
  33.          if(eval("\x01") != 972)
  34.          {
  35.             if(eval("\x01") == 815)
  36.             {
  37.                set("\x01",eval("\x01") - 126);
  38.                if(_root.easy == true)
  39.                {
  40.                   this._x = 999999;
  41.                }
  42.                if(this._x > 600 && this._x < 650)
  43.                {
  44.                   this._y = Math.random() * 320 + 80;
  45.                }
  46.                if(_root.easy == false)
  47.                {
  48.                   timer = Math.abs(Math.random() * 500 + 10000 - _root.feet / 2);
  49.                   if(this._x <= (- this._xscale) / 1.5)
  50.                   {
  51.                      this._x = this._x + 280 + Math.floor(Math.random() * 100) + timer;
  52.                      if(Math.round(50 * _root.feet) / 10 > 500 && Math.round(50 * _root.feet) / 10 < 0)
  53.                      {
  54.                         this._xscale = 50;
  55.                      }
  56.                      else if(Math.round(50 * _root.feet) / 10 > 500 && Math.round(50 * _root.feet) / 10 < 1000)
  57.                      {
  58.                         this._xscale = 60;
  59.                      }
  60.                      else if(Math.round(50 * _root.feet) / 10 > 1000 && Math.round(50 * _root.feet) / 10 < 2000)
  61.                      {
  62.                         this._xscale = 70;
  63.                      }
  64.                      else if(Math.round(50 * _root.feet) / 10 > 2000 && Math.round(50 * _root.feet) / 10 < 3000)
  65.                      {
  66.                         this._xscale = 80;
  67.                      }
  68.                      else if(Math.round(50 * _root.feet) / 10 > 3000 && Math.round(50 * _root.feet) / 10 < 4000)
  69.                      {
  70.                         this._xscale = 90;
  71.                      }
  72.                      else if(Math.round(50 * _root.feet) / 10 > 4000 && Math.round(50 * _root.feet) / 10 < 5000)
  73.                      {
  74.                         this._xscale = 100;
  75.                      }
  76.                      else if(Math.round(50 * _root.feet) / 10 > 5000 && Math.round(50 * _root.feet) / 10 < 6000)
  77.                      {
  78.                         this._xscale = 120;
  79.                      }
  80.                      else if(Math.round(50 * _root.feet) / 10 > 6000 && Math.round(50 * _root.feet) / 10 < 8000)
  81.                      {
  82.                         this._xscale = 140;
  83.                      }
  84.                      else if(Math.round(50 * _root.feet) / 10 > 8000 && Math.round(50 * _root.feet) / 10 < 10000)
  85.                      {
  86.                         this._xscale = 160;
  87.                      }
  88.                      else if(Math.round(50 * _root.feet) / 10 > 10000)
  89.                      {
  90.                         this._xscale = 180;
  91.                      }
  92.                   }
  93.                }
  94.                break;
  95.             }
  96.             if(eval("\x01") == 689)
  97.             {
  98.                set("\x01",eval("\x01") - 689);
  99.             }
  100.             break;
  101.          }
  102.          set("\x01",eval("\x01") - 476);
  103.       }
  104.    }
  105. }
  106.